package com.shiwaixiangcun.customer.utils;

import com.shiwaixiangcun.customer.R;

import org.jetbrains.annotations.NotNull;

/**
 * Author   Administrator
 * Date     2018/1/25
 * Desc     房屋租售获取图标的工具
 *
 * @author Administrator
 */

public class HouseAttrUtil {

    public HouseAttrUtil() {

    }

    public static int get(@NotNull String it) {

        switch (it) {
            case "床":
                return R.drawable.icon_attr_bed;
            case "洗衣机":
                return R.drawable.icon_attr_washer;
            case "空调":
                return R.drawable.icon_attr_air_condition;
            case "阳台":
                return R.drawable.icon_attr_balcony;
            case "冰箱":
                return R.drawable.icon_attr_frage;
            case "卫生间":
                return R.drawable.icon_attr_toilet;
            case "可做饭":
                return R.drawable.icon_attr_cooker;
            case "电视":
                return R.drawable.icon_attr_tv;
            case "热水器":
                return R.drawable.icon_attr_flask;
            case "宽带":
                return R.drawable.icon_attr_net;
            case "沙发":
                return R.drawable.icon_attr_coach;
            case "暖气":
                return R.drawable.icon_attr_heat;
            case "衣柜":
                return R.drawable.icon_attr_aromas;
            default:
                return R.drawable.icon_attr_bed;
        }


    }
}
